package com.cy.uv.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.uv.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    @Select("select * from order_new where username=#{username}")
    Order getOrderByUsername(String username);
}
